package com.primeton.wh.mcenter.api.fallback;

import com.primeton.wh.mcenter.api.MessageClient;
import com.primeton.wh.mcenter.api.model.Message;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author: YunTao.Li
 * @create: 2020-06-04 22:23
 * @description:
 **/
@Component
public class MessageClientFallback implements MessageClient {
    @Override
    public Map<String, String> sendMessage(Message recourd) {
        System.out.println("sendMessage fail back");
        return null;
    }

    @Override
    public Map<String, String> addMessage(Message recourd) {
        System.out.println("sendMessage fail back");
        return null;
    }
}
